package com.kefu.robot.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@TableName(value="robot_info")
@ApiModel(description="机器人")
public class RobotInfo implements Serializable {
    /**
     * 主键
     */
    @TableId(value="id")
    @NotEmpty
    @ApiModelProperty(name = "id", value = "主键")
    private String id;

    /**
     * 租户
     */
    @TableField(value = "tenant_id")
    @ApiModelProperty(name = "tenantId", value = "租户")
    private String tenantId;

    /**
     * 机器人编号
     */
    @TableField(value = "robot_no")
    @ApiModelProperty(name = "robotNo", value = "0公共，-1自定义寒暄，-2基本寒暄，-3互联网寒暄，-9内部知识库，-10语音知识库")
    private Integer robotNo;

    /**
     * 名称
     */
    @TableField(value = "robot_name")
    @ApiModelProperty(name = "robotName", value = "名称")
    private String robotName;

    /**
     * 图标
     */
    @TableField(value = "robot_icon")
    @ApiModelProperty(name = "robotIcon", value = "图标")
    private String robotIcon;

    /**
     * 机器人备注
     */
    @TableField(value = "robot_desc")
    @ApiModelProperty(name = "robotDesc", value = "机器人备注")
    private String robotDesc;

    /**
     * 机器人状态：0停用，1启用
     */
    @TableField(value = "robot_status")
    @ApiModelProperty(name = "robotStatus", value = "机器人状态：0停用，1启用")
    private Integer robotStatus;

    /**
     * 基本寒暄：0停用，1启用
     */
    @TableField(value = "greet_base")
    @ApiModelProperty(name = "greetBase", value = "基本寒暄：0停用，1启用")
    private Integer greetBase;

    /**
     * 互联网寒暄：0停用，1启用
     */
    @TableField(value = "greet_network")
    @ApiModelProperty(name = "greetNetwork", value = "互联网寒暄：0停用，1启用")
    private Integer greetNetwork;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(name = "createTime", value = "创建时间")
    private Long createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    @ApiModelProperty(name = "createUser", value = "创建人")
    private String createUser;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(name = "updateTime", value = "更新时间")
    private Long updateTime;

    /**
     * 更新人
     */
    @TableField(value = "update_user")
    @ApiModelProperty(name = "updateUser", value = "更新人")
    private String updateUser;

    /**
     * 直接回答分数
     */
    @TableField(value = "score_direct")
    @ApiModelProperty(name = "scoreDirect", value = "直接回答分数",hidden = true)
    private Float scoreDirect;

    /**
     * 引导回答差异分数
     */
    @TableField(value = "score_guide_distance")
    @ApiModelProperty(name = "scoreGuideDistance", value = "引导回答差异分数",hidden = true)
    private Float scoreGuideDistance;
    private static final long serialVersionUID = 1L;
}